package helloworld;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Created by Dell on 2018/12/29.
 */
@Controller
public class HelloWorldBean {
    //处理helloSpringMVC这个请求
    @RequestMapping("/success")
    public String helloWorld() {
        System.out.print("测试helloworld");
        return "success";
    }
}
